<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title></title>
        <script src="<?php echo base_url()?>assets/js/jquery/jquery.js"></script>
        <?php echo $JS;?>
        <?php echo $CSS;?>
    </head>
    <body>
    <table width="100%">
        <?php if(isset($header)){ ?>    
        <tr valign="top">
           <td<?php if(isset($leftMenu)){ ?> colspan="2"<?php } ?>><?php echo $footer; ?></td>
        </tr>
        <?php } ?>
        <?php if(isset($content)){ ?>
        <tr valign="top">
            <?php if(isset($leftMenu)) { ?>
            <td>
                <?php echo $leftMenu; ?>
                <img width="250" src="<?php echo URLPATH_IMG.'left-bar.png'; ?>"/>
            </td> <?php } ?>
            <td width="100%"><?php echo $content; ?></td>
        </tr>
        <?php } ?>
        <?php if(isset($footer)){ ?>
         <tr valign="top">
            <td<?php if(isset($leftMenu)){ ?> colspan="2"<?php } ?>><?php echo $footer; ?></td>
        </tr>
        <?php } ?>
    </table>
    </body>
</html>